###############################################
# === xenomorph_ecumenopolis_brood_districts.txt ===
###############################################
###############################################
# Brood Ecumenopolis Xenomorph Districts
###############################################

district_xenomorph_ecu_host_biology_archives = {
	icon = district_generator
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_science
	is_uncapped = { always = yes }

	zone_slots = {
		slot_polytechnic
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_brood
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_brood
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_society_research_produces_mult = 0.08
		planet_pop_assembly_mult = 0.03
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_pleasure_resin = {
	icon = district_city
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_brood
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_brood
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_amenities_add = 8
		planet_jobs_unity_produces_mult = 0.06
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_maintenance_drone_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_entertainer_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_nutrient_processing = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_food
	is_uncapped = { always = yes }

	zone_slots = {
		slot_food
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_brood
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_brood
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_food_produces_mult = 0.08
		planet_amenities_add = 3
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_extraction_drone_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_extraction_drone_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_ovipositor_spires = {
	icon = district_city
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_brood
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_brood
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_pop_assembly_mult = 0.10
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_egg_caretaker_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_egg_caretaker_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

###############################################
# === xenomorph_ecumenopolis_fortress_districts.txt ===
###############################################
###############################################
# Fortress Ecumenopolis Xenomorph Districts
###############################################

district_xenomorph_ecu_tactical_memory = {
	icon = district_generator
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_science
	is_uncapped = { always = yes }

	zone_slots = {
		slot_polytechnic
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_fortress
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_fortress
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_engineering_research_produces_mult = 0.05
		planet_jobs_society_research_produces_mult = 0.05
		army_starting_experience_add = 25
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_chitin_bastions = {
	icon = district_arcology_fortress
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_foundry
	is_uncapped = { always = yes }

	zone_slots = {
		slot_empty
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_fortress
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_fortress
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_alloys_produces_mult = 0.06
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_carapace_weaver_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_carapace_weaver_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_sublevel_feeding = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_food
	is_uncapped = { always = yes }

	zone_slots = {
		slot_food
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_fortress
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_fortress
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_food_produces_mult = 0.05
		planet_jobs_unity_produces_mult = 0.03
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_extraction_drone_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_extraction_drone_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_warrior_spawning = {
	icon = district_arcology_fortress
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_fortress
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_fortress
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_defense_armies_add = 2
		army_starting_experience_add = 25
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_warrior_drone_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_soldier_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

###############################################
# === xenomorph_ecumenopolis_foundry_districts.txt ===
###############################################
###############################################
# Foundry Ecumenopolis Xenomorph Districts
###############################################

district_xenomorph_ecu_acid_forge_design = {
	icon = district_arcology_arms_industry
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_science
	is_uncapped = { always = yes }

	zone_slots = {
		slot_polytechnic
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_foundry
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_foundry
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_engineering_research_produces_mult = 0.10
		planet_jobs_alloys_produces_mult = 0.02
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_living_foundries = {
	icon = district_arcology_arms_industry
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_foundry
	is_uncapped = { always = yes }

	zone_slots = {
		slot_empty
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_foundry
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_foundry
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_alloys_produces_mult = 0.12
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_carapace_weaver_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_carapace_weaver_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_biomass_furnaces = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_food
	is_uncapped = { always = yes }

	zone_slots = {
		slot_food
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_foundry
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_foundry
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_food_produces_mult = 0.04
		planet_jobs_minerals_produces_mult = 0.05
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_extraction_drone_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_extraction_drone_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_forge_drone_spawning = {
	icon = district_arcology_arms_industry
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis_foundry
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis_foundry
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_pop_assembly_mult = 0.04
		planet_jobs_alloys_produces_mult = 0.03
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_egg_caretaker_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_egg_caretaker_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

###############################################
# === xenomorph_ecumenopolis_world_districts.txt ===
###############################################
###############################################
# Ecumenopolis Xenomorph Base Districts
###############################################

district_xenomorph_ecu_archive_arcology = {
	icon = district_generator
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_science
	is_uncapped = { always = yes }

	zone_slots = {
		slot_polytechnic
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1000
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_society_research_produces_mult = 0.08
		planet_jobs_engineering_research_produces_mult = 0.08
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_industrial_arcology = {
	icon = district_arcology_arms_industry
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_foundry
	is_uncapped = { always = yes }

	zone_slots = {
		slot_empty
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1000
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_alloys_produces_mult = 0.10
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_carapace_weaver_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_carapace_weaver_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_biomass_arcology = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_food
	is_uncapped = { always = yes }

	zone_slots = {
		slot_food
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1000
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_jobs_food_produces_mult = 0.08
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_extraction_drone_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_extraction_drone_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ecu_brood_arcology = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ecumenopolis
	}

	potential = {
		uses_district_set = xenomorph_infested_ecumenopolis
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1000
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 500
		planet_pop_assembly_mult = 0.08
		planet_housing_add = 500
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_egg_caretaker_gestalt_add = 300
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_egg_caretaker_add = 300
		}
	}

	prerequisites = { "tech_hive_cluster" }
}
